package com.ruoyi.portal.mapper;

import java.util.List;
import com.ruoyi.portal.domain.Recruitment;

/**
 * 招聘Mapper接口
 * 
 * @author cjie
 * @date 2021-06-13
 */
public interface RecruitmentMapper {
    /**
     * 查询招聘
     * 
     * @param id 招聘ID
     * @return 招聘
     */
     Recruitment selectRecruitmentById(Long id);

    /**
     * 查询招聘列表
     * 
     * @param recruitment 招聘
     * @return 招聘集合
     */
     List<Recruitment> selectRecruitmentList(Recruitment recruitment);

    /**
     * 新增招聘
     * 
     * @param recruitment 招聘
     * @return 结果
     */
     int insertRecruitment(Recruitment recruitment);

    /**
     * 修改招聘
     * 
     * @param recruitment 招聘
     * @return 结果
     */
     int updateRecruitment(Recruitment recruitment);

    /**
     * 删除招聘
     * 
     * @param id 招聘ID
     * @return 结果
     */
     int deleteRecruitmentById(Long id);

    /**
     * 批量删除招聘
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
     int deleteRecruitmentByIds(Long[] ids);
}
